package hhs.scannerapp;
import java.util.List;

public class EdgeModel {
	List<EdgePoint> edges;
	float rot;
	
	class EdgePoint {
		double h;
		double r;
		
		public float[] toCartesian() {
			float x = (float) (r*Math.cos(2*Math.PI*rot));
			float y = (float)h;
			float z = (float) (r*Math.sin(2*Math.PI*rot));
			return new float[]{x, y, z};
		}
	}
}
